package cn.jsj.hzu.qm.facecloud.user.dao;

import java.util.List;

import cn.jsj.hzu.qm.facecloud.user.pojo.App;

/**
 * 
 * @author姬生宇
 *
 */

public interface AppDao {
	//1 增
	public int addApp(App app);
	
	//2 删
	
	public int deleteApp(App app);
	
	
	//3 改
	public int updateApp(App app);
	
	//4 查
	/**
	 * @author 姬生宇
	 * @return 全表共有多少APP
	 */
	public int getAllAppNum();
	
	public App findAppById(int id);
	
	public List<App> findAppByUserId(int userId);
	
	
	
	
	
}
